1 /************************************************************
2 * Copyright *
3 * Portions of this software are Copyright (c) 1993 - 2002, *
4 * Chad Z. Hower (Kudzu) and the Indy Pit Crew *
5 * - http://www.nevrona.com/Indy/ *
6 ************************************************************/
7 package org.indy;
8
9 import java.util.EventListener;
10
11
12 /***
13 * An interface defining events fired by {@link TCPClient}. These are delegated from the
14 * unlderlying {@link org.indy.io.IOHandler}.
15 *
16 *@see IndyComponentListener
17 *@author Owen Green
18 */
19 public interface TCPClientListener extends EventListener {
20 /***
21 * Fired when a TCPClient has connected
22 *
23 * @param event Provides information about the source of the event
24 */
25 void onConnect(TCPClientEvent event);
26
27 /***
28 * Fired when a TCPClient has disconnected
29
30 * @param Provides information about the source of the event
31 */
32 void onDisconnected(TCPClientEvent event);
33 }
This page was automatically generated by Maven